<%--
  Created by IntelliJ IDEA.
  User: 1
  Date: 2023-3-6
  Time: 13:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="fm" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <fm:form method="post" action="${pageContext.request.contextPath}/user/shangchuan" enctype="multipart/form-data">
        温馨提示：每个图片不能超过1mb，格式可以是png，jpg，jpeg，gif
        <input type="hidden" name="img1" value="${img1}">
        <input type="hidden" name="img2" value="${img2}">
        <input type="hidden" name="id" value="${id}">
        <h1>上传身份证正面</h1>
        <input type="file" name="files"><i style="color: red">${error1}</i><br/>
        <h1>上传身份证正面</h1>
        <input type="file" name="files"><i style="color: red">${error2}</i><br/>
        <input type="submit" value="提交"><a href="#">退回</a>
    </fm:form>
</body>
</html>
